<?php $picRes =& $this->GetValue('picRes'); $k =& $this->GetValue('k'); $v =& $this->GetValue('v'); $userInfo =& $this->GetValue('userInfo');  ?>
<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
<?php include $this->Compile("index/header"); ?>

	<div class="container pt15 fix">
		<div class="wrapL">
			<div class="rowR myCol">
				<ul class="subnav" id="id_lott_menuList">
					<li>
						<a href="index.php?m=index&c=k3&a=1401" class="MustLogin">
							<i class="iconfont L_K3"></i>
							<span class="sortName">江苏快3</span>
							<span class="des">全天82期</span>
						</a>
					</li>
					<li><a href="index.php?m=index&c=k3&a=1410" class="MustLogin"><i class="iconfont L_K3"></i><span class="sortName">上海快3</span><span class="des">1分钟1期</span></a></li>
					<li><a href="index.php?m=index&c=k3&a=1402" class="MustLogin"><i class="iconfont L_K3"></i><span class="sortName">安徽快3</span><span class="des">全天80期</span></a></li>
					<li><a href="index.php?m=index&c=k3&a=1406" class="MustLogin"><i class="iconfont L_K3"></i><span class="sortName">北京快3</span><span class="des">全天89期</span></a></li>
					<li><a href="index.php?m=index&c=k3&a=1403" class="MustLogin"><i class="iconfont L_K3"></i><span class="sortName">广西快3</span><span class="des">全天78期</span></a></li>
					<li><a href="index.php?m=index&c=k3&a=1408" class="MustLogin"><i class="iconfont L_K3"></i><span class="sortName">河北快3</span><span class="des">全天81期</span></a></li>
					<li><a href="index.php?m=index&c=k3&a=1405" class="MustLogin"><i class="iconfont L_K3"></i><span class="sortName">湖北快3</span><span class="des">全天78期</span></a></li>
					<li><a href="index.php?m=index&c=ssc&a=1001" class="MustLogin"><i class="iconfont L_SSC"></i><span class="sortName">重庆时时彩</span><span class="des">1分钟1期</span></a></li>
					<li><a href="index.php?m=index&c=ssc&a=1001" class="MustLogin"><i class="iconfont L_SSC"></i><span class="sortName">新疆时时彩</span><span class="des">1分钟1期</span></a></li>
					<li><a href="index.php?m=index&c=ssc&a=1002" class="MustLogin"><i class="iconfont L_SSC"></i><span class="sortName">天津时时彩</span><span class="des">一周三期</span></a></li>	
				</ul>
			</div>
		</div>
		<div class="wrapC">
			<div class="banner defaultImg">
				<div class="slideBox">
					<div class="bd">
						<div class="tempWrap">
							<div class="tempWrap layui-carousel" id="test1" style="overflow: hidden; position: relative; width: 488px;">
								<ul carousel-item>
									<?php foreach ((array)$picRes as $k=>$v) { $__i++; ?>
										<li><a href="#" class=""><img src="<?php echo $v['bn_pic'];?>"></a></li>
									<?php } ?>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="autoTab">
				<div class="slideTxtBox">
					<div class="hd">
						<ul class="fix" id="tabtit">
							<li class="on">江苏快３</li>
							<li class="">重庆时时彩</li>
							<li class="">上海11选5</li>
						</ul>
					</div>
					<div class="bd" id="tabcont">
						<ul>
							<li class="jsk3">
    							<div class="dice" align="center" id="k3_open_num">
    								<span style="background-position: 0px 0px;"></span>
    								<i>+</i>
    								<span style="background-position: 0px -60px;"></span>
    								<i>+</i>
    								<span style="background-position: 0px -180px;"></span>
    								<i>=</i>
    								<em>11</em>
    							</div>
							</li>
							<style type="text/css">
								.text a{display:inline-block !important;width:18px !important;height:18px !important;line-height:18px !important;color:#fff !important;background:#ff9726 !important;border-radius:2px !important;margin-right:6px !important;}
							</style>
							<li class="text">
							<p>
								<span>当前期：第 <i id="k3_open_period">20180103057</i> 期</span>
								<span>开奖号码：<i id="k3_open_code">1,5,5</i></span>
								<span>和值：<i id="k3_open_he">11</i></span>
								<span>形态：<a>大</a><a>双</a></span>
							</p>
							</li>
						</ul>
						<ul style="display: none;" id="ssc_open_box">
							<li class="cqssc fix">
                                <div class="number">
                                 	<em>7</em><em>6</em><em>3</em><em>9</em><em>2</em>
                                </div> 
                                <a href="<?php echo U('index/ssc', array('id'=>'11'));?>" class="mainColorBtn MustLogin">立即投注</a>
                            </li> 
                           	<li class="text" id="ssc_open_info">
                           		<p><span>当前期：第 <i>20180319036</i> 期</span> <span>开奖号码：<i>7,6,3,9,2</i></span></p>
                       		</li>
						</ul>
						<ul style="display: none;" id="syxw_open_box">
							<li class="cqssc fix">
								<div class="number">
									<em>04</em><em>11</em><em>07</em><em>02</em><em>01</em>
								</div> 
								<a href="<?php echo U('index/syx5', array('id'=>'16'));?>" class="mainColorBtn MustLogin">立即投注</a>
							</li> 
							<li class="text">
								<p>
									<span>当前期：第 <i>2018031911</i> 期</span> 
									<span>开奖号码：<i>04,11,07,02,01</i></span>
								</p>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="wrapR">
			<?php if ($userInfo['id']){ ?>
    			<div class="logined">
                	<h3 ><i class="iconfont"></i> <b ><?php echo $userInfo['username'];?></b></h3> 
                	<a class="LoginOut" href="?m=member&c=logout"><em >退出</em><i class="iconfont"></i></a>
                </div>
            <?php }else{ ?>
    			<div class="loginRegister">
    				<a href="?m=member&c=login" class=""><i class="iconfont"></i>登  录</a><a href="?m=member&c=register" class="">用户注册</a>
    			</div>
    		<?php } ?>
			<div class="slide">
				<h6>昨日盈利榜</h6>
				<table class="yestodayWinning" style="position: relative;" id="id_win_order">
			
				</table>
			</div>
			<div class="winningList">
				<h6>中奖信息</h6>
				<div class="winnerListSlide" style="box-sizing: content-box;">
					<div class="bd" id="id_winnerList_box">
						<ul class="winnerList" id="id_win_list" style="cursor: pointer; position: relative; top: -349px; transition: all 0.3s linear;">
							
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="cardBox" style="display: none;">
			<!---->
		</div>
	</div>
	<script>
		var baseDataUrl = "<?php echo U('json/func_index');?>";
		$().ready(function(){
			$('#tabtit li').click(function(){
				var i = $(this).index();
				$(this).siblings().removeClass('on');
				$(this).addClass('on');
				$('#tabcont ul').hide();
				$('#tabcont ul:eq(' + i + ')').show();
			});
		});
	
		layui.use('carousel', function(){
		  var carousel = layui.carousel;
		  //建造实例
		  carousel.render({
		    elem: '#test1',
		    width: '488px',
		    height: '250px', //设置容器宽度
		    arrow: 'none' //始终显示箭头
		    //,anim: 'updown' //切换动画方式
		  });
		});
	</script>
	<script type="text/javascript" src="static/js/index/index_func.js"></script>
	<script type="text/javascript" src="static/js/index/index_init.js"></script>

<?php include $this->Compile("index/footer"); ?>